package com.umpay.dto.merBusi.req.query;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merBusi.req.CommonBusiReq;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @ClassName: BalanceQueryBusiReq  
 * @Description: 余额查询业务处理接收类
 * @author zhangtao  
 * @date Feb 7, 2018
 */
public class BalanceQueryBusiReq extends CommonBusiReq{
	
	/**
	 * 商户号
	 */
	@NotEmpty(message = "商户号不能为空")
	@Pattern(message="商户号格式不正确")
	private String merId;
	
	
	private String userId;
	
	/**
	 * 202:待清分  203:手续费账户 208:对公现金账户   209:对私现金账户
	 */
	private String accType;
	
	/**
	 * 业务产品号
	 */
	@NotEmpty(message = "业务产品号不能为空")
	@Pattern(message="业务产品号格式不正确")
	private String bProductId;
	
	/**
	 * 支付产品号
	 */
	private String pProductId;

	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getAccType() {
		return accType;
	}

	public void setAccType(String accType) {
		this.accType = accType;
	}

	public String getbProductId() {
		return bProductId;
	}

	public void setbProductId(String bProductId) {
		this.bProductId = bProductId;
	}

	public String getpProductId() {
		return pProductId;
	}

	public void setpProductId(String pProductId) {
		this.pProductId = pProductId;
	}

	@Override
	public String toString() {
		return "BalanceQueryBusiReq [merId=" + merId + ", userId=" + userId + ", accType=" + accType + ", bProductId="
				+ bProductId + ", pProductId=" + pProductId + ", rpid=" + rpid + ", reqDate=" + reqDate + ", reqTime="
				+ reqTime + "]";
	}

}
